package main

import "golang.org/x/tour/reader"

type MyReader struct{}

func (r MyReader) Read(b []byte) (int, error) {
	for key := range b {
		b[key] = 'A'
	}
	return len(b), nil
	//return 0, nil
}

func main() {
	reader.Validate(MyReader{})
}
